1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudSearch;
19
20class DynamiteSpacesScoringInfo extends \Google\Model
21{
22  public $affinityScore;
23  public $commonContactCountAffinityScore;
24  public $contactsIntersectionCount;
25  public $finalScore;
26  public $freshnessScore;
27  public $joinedSpacesAffinityScore;
28  /**
29   * @var string
30   */
31  public $lastMessagePostedTimestampMicros;
32  public $memberMetadataCount;
33  public $messageScore;
34  /**
35   * @var string
36   */
37  public $numAucContacts;
38  public $smallContactListAffinityScore;
39  public $smallUnjoinedSpacesAffinityScore;
40  public $spaceAgeInDays;
41  /**
42   * @var string
43   */
44  public $spaceCreationTimestampMicros;
45  public $topicalityScore;
46
47  public function setAffinityScore($affinityScore)
48  {
49    $this->affinityScore = $affinityScore;
50  }
51  public function getAffinityScore()
52  {
53    return $this->affinityScore;
54  }
55  public function setCommonContactCountAffinityScore($commonContactCountAffinityScore)
56  {
57    $this->commonContactCountAffinityScore = $commonContactCountAffinityScore;
58  }
59  public function getCommonContactCountAffinityScore()
60  {
61    return $this->commonContactCountAffinityScore;
62  }
63  public function setContactsIntersectionCount($contactsIntersectionCount)
64  {
65    $this->contactsIntersectionCount = $contactsIntersectionCount;
66  }
67  public function getContactsIntersectionCount()
68  {
69    return $this->contactsIntersectionCount;
70  }
71  public function setFinalScore($finalScore)
72  {
73    $this->finalScore = $finalScore;
74  }
75  public function getFinalScore()
76  {
77    return $this->finalScore;
78  }
79  public function setFreshnessScore($freshnessScore)
80  {
81    $this->freshnessScore = $freshnessScore;
82  }
83  public function getFreshnessScore()
84  {
85    return $this->freshnessScore;
86  }
87  public function setJoinedSpacesAffinityScore($joinedSpacesAffinityScore)
88  {
89    $this->joinedSpacesAffinityScore = $joinedSpacesAffinityScore;
90  }
91  public function getJoinedSpacesAffinityScore()
92  {
93    return $this->joinedSpacesAffinityScore;
94  }
95  /**
96   * @param string
97   */
98  public function setLastMessagePostedTimestampMicros($lastMessagePostedTimestampMicros)
99  {
100    $this->lastMessagePostedTimestampMicros = $lastMessagePostedTimestampMicros;
101  }
102  /**
103   * @return string
104   */
105  public function getLastMessagePostedTimestampMicros()
106  {
107    return $this->lastMessagePostedTimestampMicros;
108  }
109  public function setMemberMetadataCount($memberMetadataCount)
110  {
111    $this->memberMetadataCount = $memberMetadataCount;
112  }
113  public function getMemberMetadataCount()
114  {
115    return $this->memberMetadataCount;
116  }
117  public function setMessageScore($messageScore)
118  {
119    $this->messageScore = $messageScore;
120  }
121  public function getMessageScore()
122  {
123    return $this->messageScore;
124  }
125  /**
126   * @param string
127   */
128  public function setNumAucContacts($numAucContacts)
129  {
130    $this->numAucContacts = $numAucContacts;
131  }
132  /**
133   * @return string
134   */
135  public function getNumAucContacts()
136  {
137    return $this->numAucContacts;
138  }
139  public function setSmallContactListAffinityScore($smallContactListAffinityScore)
140  {
141    $this->smallContactListAffinityScore = $smallContactListAffinityScore;
142  }
143  public function getSmallContactListAffinityScore()
144  {
145    return $this->smallContactListAffinityScore;
146  }
147  public function setSmallUnjoinedSpacesAffinityScore($smallUnjoinedSpacesAffinityScore)
148  {
149    $this->smallUnjoinedSpacesAffinityScore = $smallUnjoinedSpacesAffinityScore;
150  }
151  public function getSmallUnjoinedSpacesAffinityScore()
152  {
153    return $this->smallUnjoinedSpacesAffinityScore;
154  }
155  public function setSpaceAgeInDays($spaceAgeInDays)
156  {
157    $this->spaceAgeInDays = $spaceAgeInDays;
158  }
159  public function getSpaceAgeInDays()
160  {
161    return $this->spaceAgeInDays;
162  }
163  /**
164   * @param string
165   */
166  public function setSpaceCreationTimestampMicros($spaceCreationTimestampMicros)
167  {
168    $this->spaceCreationTimestampMicros = $spaceCreationTimestampMicros;
169  }
170  /**
171   * @return string
172   */
173  public function getSpaceCreationTimestampMicros()
174  {
175    return $this->spaceCreationTimestampMicros;
176  }
177  public function setTopicalityScore($topicalityScore)
178  {
179    $this->topicalityScore = $topicalityScore;
180  }
181  public function getTopicalityScore()
182  {
183    return $this->topicalityScore;
184  }
185}
186
187// Adding a class alias for backwards compatibility with the previous class name.
188class_alias(DynamiteSpacesScoringInfo::class, 'Google_Service_CloudSearch_DynamiteSpacesScoringInfo');
189