--- id: beta-recommendation title: Recommendation pagination_label: Recommendation sidebar_label: Recommendation sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'Recommendation', 'BetaRecommendation'] slug: /tools/sdk/go/beta/models/recommendation tags: ['SDK', 'Software Development Kit', 'Recommendation', 'BetaRecommendation'] --- # Recommendation ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | **string** | Recommended type of account. | **Method** | **string** | Method used to produce the recommendation. DISCOVERY - suggested by AI, SOURCE - the account comes from a source flagged as containing machine accounts, CRITERIA - the account satisfies classification criteria. | ## Methods ### NewRecommendation `func NewRecommendation(type_ string, method string, ) *Recommendation` NewRecommendation instantiates a new Recommendation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed ### NewRecommendationWithDefaults `func NewRecommendationWithDefaults() *Recommendation` NewRecommendationWithDefaults instantiates a new Recommendation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetType `func (o *Recommendation) GetType() string` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk `func (o *Recommendation) GetTypeOk() (*string, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType `func (o *Recommendation) SetType(v string)` SetType sets Type field to given value. ### GetMethod `func (o *Recommendation) GetMethod() string` GetMethod returns the Method field if non-nil, zero value otherwise. ### GetMethodOk `func (o *Recommendation) GetMethodOk() (*string, bool)` GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMethod `func (o *Recommendation) SetMethod(v string)` SetMethod sets Method field to given value.